{% extends 'base.html' %}
{% from 'bootstrap/form.html' import render_form %}


{% block content %}
    <div class="container">
        <h1>注册</h1>
    <hr>
        {{ render_form(form,button_map={'submit': 'primary'}) }} {# 将button_map设置为primary #}
    <hr>
        <p>{{'已有账号？'}}<a href="{{ url_for('auth.login') }}">{{'点击这里'}}</a>{{'登录'}}</p>
    </div>   
{% endblock %}